Skip to content

fix(deps): update dependency me.mmckenna.dejavu:dejavu to v0.5.0 - #1477

Merged
mikepenz merged 1 commit into
developfrom
renovate/dejavu
Oct 12, 2026
Merged

mikepenz merged 1 commit into
developfrom
renovate/dejavu

Conversation

@renovate-mike

@renovate-mike renovate-mike Bot commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change OpenSSF
me.mmckenna.dejavu:dejavu dependencies minor 0.3.1 → 0.5.0 OpenSSF Scorecard

Release Notes

himattm/dejavu (me.mmckenna.dejavu:dejavu)

v0.5.0

Changed
  • Build against stable Compose Multiplatform 1.12.0 and Android BOM 2026.08.00 (Compose 1.12.0).
    DejaVu keeps independent version numbers and the Android Compose 1.11 support floor.
  • Retain Android BOM 2026.05.00 and 2026.06.01 as the minimum and latest 1.11 checkpoints.
    Retire the redundant intermediate 2026.06.00 checkpoint without moving the support floor.
  • Upgrade the build to AGP 9.4.0 and compile SDK 37 for the new Android Compose artifacts.
    The published AAR requires consumers to use compile SDK 37. Retaining Android Compose 1.11
    requires an enforced BOM so the transitive 1.12 baseline does not win resolution.
  • Adapt experimental Styles fixtures to the changed pressed API with separate 1.11 and 1.12
    test sources. Both retain the same deliberately inefficient and stable fixture behavior.
  • Declare Wasm executables for browser UI tests, as required by Compose Multiplatform 1.12's
    Skiko bundling check. The library continues to publish Wasm KLIB artifacts.
Added
  • The Android rule delegates Compose 1.12's hasPendingWork and runWithoutImplicitWait APIs.
    These new methods require Compose 1.12; existing rule methods remain covered on Compose 1.11.
  • Six public-API regressions for Compose 1.12: stable and changed keyed SideEffect, shrinking
    vararg effect keys, shrinking remember keys, frame assertions using runWithoutImplicitWait,
    and nested movable content under the LinkBuffer composer.
  • The keyed-effect regression deliberately recomposes four times while the keyed callback stays
    quiet, proving DejaVu counts every recomposition and rejects an incorrect stability budget.
    Unkeyed SideEffect remains the independent recomposition-count oracle.
  • Version-specific tests compile only where the API exists. Older Android BOM checks retain the
    complete core suite and the original 20 experimental tests; 1.12 adds the six new regressions.
  • A standalone consumer build verifies packaged Maven artifacts across Android checkpoints and
    the KMP baseline. Release checks now reject empty, failing, or skipped JUnit reports.
Fixed
  • Combine Android activity inspection tables with tables supplied by setTrackedContent.
    Previously, enabling the Android tracking rule before a KMP helper test in the same process
    could hide the helper's subcomposition and report an unmapped tag. A dedicated Android
    regression and the packaged consumer suite cover both harnesses together.
  • Restore previously active tracing and inspector settings after the KMP helper finishes, so
    a subsequent Android rule keeps tracking. The regression checks the full rule/helper/rule path.
  • Enable Android tracking before activity launch so initial inspection tables are registered
    after a previous test disabled tracking. The setup regression verifies the first update against
    an independent SideEffect count.

v0.4.0

Changed
  • Made the legacy recomposition test suites self-validating. Replaced weak/directional
    assertions (assertRecompositions(atLeast = …/atMost = …), atLeast = 0) in the dejavu
    pattern tests and the demo instrumented tests with exact assertions — either a pinned budget
    (exactly = N / assertStable()) or, in dejavu/commonTest, a SideEffect-ground-truth
    equality (exactly = GroundTruth.delta(tag) for single-instance / distinct-call-site nodes, and
    DejavuTracer.getRecompositionCount(fn) == GroundTruth.delta(fn) at the function level for
    keyless-loop / multi-tag composables whose per-instance counts only resolve on Android). This
    proves the tracer's counts are accurate, not merely non-zero. Added a shared GroundTruth
    test helper (record/snapshotBaseline/delta) mirroring the compose-experimental pattern.
    Two narrow classes stay directional by design: the assertion-API coverage tests
    (AssertionApiPatternTest / demo AssertionApiTest, which exercise atLeast/atMost/range)
    and continuously-running animation / scroll-frame counts whose exact value is a moving target.
Added
  • Bundled four Claude Code skills in .claude/skills/ to help AI agents adopt Dejavu, author tests, triage failures, and run an iterative recomposition-optimization loop:
    • dejavu-onboarding — adds Dejavu to a project from scratch (gradle dependency, first Modifier.testTag, smallest passing test).
    • dejavu-test-writer — authors Compose UI recomposition tests using Dejavu's APIs.
    • dejavu-error-triage — one-shot diagnosis of a single UnexpectedRecompositionsError block.
    • dejavu-perf-loop — closed-loop optimization using Dejavu as the validator.
  • Packaged the same skills as a Claude Code plugin (dejavu) installable via /plugin marketplace add mttmcknn/dejavu + /plugin install dejavu@dejavu. Plugin manifest at .claude-plugin/plugin.json, marketplace at .claude-plugin/marketplace.json, with skills/ symlinked into .claude/skills/ for a single source of truth.
  • New compose-experimental module (a staging area for experimental-API recomposition coverage) with tests for Compose 1.11's new APIs, running on JVM, iOS, Wasm, and Android instrumented: experimental Grid, experimental FlexBox, the experimental LinkBuffer composer runtime path (ComposeRuntimeFlags.isLinkBufferComposerEnabled), movableContentOf, derivedMediaQuery/mediaQuery (adaptive breakpoints), and the Styles API (androidx.compose.foundation.style).
  • Public ComposeUiTest.resetRecompositionCounts() for KMP recomposition tests — resets recomposition counts mid-test while preserving composition history.
  • A Coil-style test.sh release check and RELEASING.md checklist that pin one Compose
    Multiplatform/BOM baseline per Dejavu release while retaining older supported BOM checkpoints.
Compatibility
  • Minimum supported Compose is now 1.11 (BOM 2026.05.00). Compose testing v2 is not available
    in the 1.10 BOM line. Compose 1.10 remains supported by Dejavu 0.3.1.
  • Migrate the test harness to the Compose testing v2 APIs (androidx.compose.ui.test.v2.runComposeUiTest, androidx.compose.ui.test.junit4.v2.createAndroidComposeRule), which default to StandardTestDispatcher (v1 used UnconfinedTestDispatcher). This completes the testing-v2 half of #​63. Validated that recomposition counts are unchanged on JVM under the new dispatcher — no rebaselining was required.
  • Bump Compose Multiplatform from 1.10.3 to 1.11.1.
  • Bump Compose BOM baseline from 2026.03.01 to 2026.06.01.
  • Drop iosX64 from supported targets because Compose Multiplatform 1.11 no longer supports Apple x64 targets. iOS coverage remains via iosArm64 (compile) and iosSimulatorArm64 (tests).
  • Promote the LinkBuffer composer-path and movableContentOf regression tests into the cross-platform compose-experimental common test set (JVM, iOS, Wasm) alongside Android instrumented coverage.
  • CI: derive compatibility jobs from version-catalog checkpoints and validate 2026.05.00,
    2026.06.00, and the 2026.06.01 release baseline. Each Android checkpoint runs both the legacy
    UI suite and the new Compose 1.11 composable/runtime regressions.
  • Publishing is an explicit workflow dispatch against a matching release tag. A documented local
    release suite and exact verified commit can replace repeated hosted CI checks, conserving CI budget.
Fixed
  • Give the mutable inspection collection stable registration identity. Compose stores that collection
    in a hash set; hashing its changing contents caused lazy-layout registration to crash on iOS and
    Wasm. All eight lazy-row/grid accuracy tests now run on every target (#​21).
  • Preserve the asynchronous TestResult from runRecompositionTrackingUiTest and keep tracking
    active across suspensions. The block now accepts suspending calls, matching Compose testing v2.
    Return the helper result directly from each Wasm test; recompile test binaries after upgrading.
  • Restore all seven Wasm diagnostic-message tests by inspecting caught assertion errors inside the
    asynchronous UI test. The previous helper read an empty result before the test completed (#​22).
  • Make -PcomposeBomVersion use an enforced platform during compatibility checks. This prevents
    Compose Multiplatform's newer transitive Android artifacts from silently replacing an older BOM
    and making a compatibility job test the wrong runtime.
  • Keep Android tags handled by CommonTagMapping in the per-frame fallback pass after their initial
    mapping, so their recompositions continue to be detected. Android's primary tooling pass now
    hands off its exact mapped-tag set instead of treating every previously known tag as handled.
  • Make JVM/Android inspection-table storage safe for concurrent Compose writes, and synchronize the
    SideEffect ground-truth test counters used across UI and instrumentation threads.
  • Make the async produceState/snapshotFlow Android regressions compare Dejavu with a
    SideEffect ground truth, and remove the random reset setup that could flake 1 in 720 runs.
Removed
  • Removed the pre-1.10 degraded compatibility path (-PexcludeCompositionObserver / src/observerAndroid split); CompositionObserver support is now unconditional.

Configuration

📅 Schedule: (in timezone Europe/Berlin)

  • Branch creation
    • "before 6am on Monday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

@renovate-mike renovate-mike Bot added the dependencies Pull requests that update a dependency file label Oct 12, 2026
@mikepenz
mikepenz merged commit 2047bce into develop Oct 12, 2026
6 checks passed
@mikepenz
mikepenz deleted the renovate/dejavu branch October 12, 2026 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant